package org.example.service.impl;

import org.example.entities.User;
import org.example.mapper.UserMapper2;
import org.example.service.UserService2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService2Impl implements UserService2 {

    @Autowired
    UserMapper2 userMapper2;
    @Override
    public List<User> getUserList() {
        List<User> userList = userMapper2.getUserList();
        return userList;
    }
}
